function table(f,c) {
	var tabla="table";
	var celda="td";
	var fila="tr";
	print( "<"+tabla+">");
	for (i=1; i<=f; i++ ) {
  		print( "<"+fila+">");
  		for ( j=1; j<=c; j++  ) {
    		print ("<"+celda+">"+i*j+"</"+celda+">");
  		}
  		print ("</"+fila+">\n");
 	}
	print ("</"+tabla+">");	
}

table(2,2)